

<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
  <meta charset="utf-8" />
  <meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  
  <title>Ceph 对象网关配置参考 &mdash; Ceph Documentation</title>
  

  
  <link rel="stylesheet" href="../../_static/ceph.css" type="text/css" />
  <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
  <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
  <link rel="stylesheet" href="../../_static/ceph.css" type="text/css" />
  <link rel="stylesheet" href="../../_static/graphviz.css" type="text/css" />
  <link rel="stylesheet" href="../../_static/css/custom.css" type="text/css" />

  
  

  
  

  

  
  <!--[if lt IE 9]>
    <script src="../../_static/js/html5shiv.min.js"></script>
  <![endif]-->
  
    
      <script type="text/javascript" id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
        <script src="../../_static/jquery.js"></script>
        <script src="../../_static/_sphinx_javascript_frameworks_compat.js"></script>
        <script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script>
        <script src="../../_static/doctools.js"></script>
        <script src="../../_static/sphinx_highlight.js"></script>
    
    <script type="text/javascript" src="../../_static/js/theme.js"></script>

    
    <link rel="index" title="Index" href="../../genindex/" />
    <link rel="search" title="Search" href="../../search/" />
    <link rel="next" title="管理指南" href="../admin/" />
    <link rel="prev" title="存储池" href="../pools/" /> 
</head>

<body class="wy-body-for-nav">

   
  <header class="top-bar">
    <div role="navigation" aria-label="Page navigation">
  <ul class="wy-breadcrumbs">
      <li><a href="../../" class="icon icon-home" aria-label="Home"></a></li>
          <li class="breadcrumb-item"><a href="../">Ceph 对象网关</a></li>
      <li class="breadcrumb-item active">Ceph 对象网关配置参考</li>
      <li class="wy-breadcrumbs-aside">
            <a href="../../_sources/radosgw/config-ref.rst.txt" rel="nofollow"> View page source</a>
      </li>
  </ul>
  <hr/>
</div>
  </header>
  <div class="wy-grid-for-nav">
    
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
      <div class="wy-side-scroll">
        <div class="wy-side-nav-search"  style="background: #eee" >
          

          
            <a href="../../" class="icon icon-home"> Ceph
          

          
          </a>

          

          
<div role="search">
  <form id="rtd-search-form" class="wy-form" action="../../search/" method="get">
    <input type="text" name="q" placeholder="Search docs" aria-label="Search docs" />
    <input type="hidden" name="check_keywords" value="yes" />
    <input type="hidden" name="area" value="default" />
  </form>
</div>

          
        </div>

        
        <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
          
            
            
              
            
            
              <ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../../start/">Ceph 简介</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../install/">安装 Ceph</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../cephadm/">Cephadm</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../rados/">Ceph 存储集群</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../cephfs/">Ceph 文件系统</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../rbd/">Ceph 块设备</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../">Ceph 对象网关</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="../frontends/">HTTP 前端</a></li>
<li class="toctree-l2"><a class="reference internal" href="../multisite/">多站配置</a></li>
<li class="toctree-l2"><a class="reference internal" href="../zone-features/">域的功能</a></li>
<li class="toctree-l2"><a class="reference internal" href="../placement/">存储池归置与存储类</a></li>
<li class="toctree-l2"><a class="reference internal" href="../multisite-sync-policy/">多站同步策略配置</a></li>
<li class="toctree-l2"><a class="reference internal" href="../pools/">存储池的配置</a></li>
<li class="toctree-l2 current"><a class="current reference internal" href="#">配置参考</a><ul>
<li class="toctree-l3"><a class="reference internal" href="#id2">生命周期配置</a></li>
<li class="toctree-l3"><a class="reference internal" href="#id3">垃圾回收选项</a></li>
<li class="toctree-l3"><a class="reference internal" href="#id4">多站设置</a></li>
<li class="toctree-l3"><a class="reference internal" href="#s3">S3 选项</a></li>
<li class="toctree-l3"><a class="reference internal" href="#swift">Swift 选项</a></li>
<li class="toctree-l3"><a class="reference internal" href="#id5">日志记录选项</a></li>
<li class="toctree-l3"><a class="reference internal" href="#keystone">Keystone 选项</a></li>
<li class="toctree-l3"><a class="reference internal" href="#id6">服务端加密选项</a></li>
<li class="toctree-l3"><a class="reference internal" href="#barbican">Barbican 选项</a></li>
<li class="toctree-l3"><a class="reference internal" href="#hashicorp-vault">HashiCorp Vault 选项</a></li>
<li class="toctree-l3"><a class="reference internal" href="#sse-s3">SSE-S3 选项</a><ul>
<li class="toctree-l4"><a class="reference internal" href="#qos">QoS 选项</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../admin/">管理指南</a></li>
<li class="toctree-l2"><a class="reference internal" href="../account/">用户账户</a></li>
<li class="toctree-l2"><a class="reference internal" href="../s3/">S3 API</a></li>
<li class="toctree-l2"><a class="reference internal" href="../iam/">IAM API</a></li>
<li class="toctree-l2"><a class="reference internal" href="../rgw-cache/">数据缓存和 CDN</a></li>
<li class="toctree-l2"><a class="reference internal" href="../swift/">Swift API</a></li>
<li class="toctree-l2"><a class="reference internal" href="../adminops/">管理操作 API</a></li>
<li class="toctree-l2"><a class="reference internal" href="../api/">Python 接口</a></li>
<li class="toctree-l2"><a class="reference internal" href="../nfs/">通过 NFS 导出</a></li>
<li class="toctree-l2"><a class="reference internal" href="../keystone/">与 OpenStack Keystone 对接</a></li>
<li class="toctree-l2"><a class="reference internal" href="../barbican/">与 OpenStack Barbican 对接</a></li>
<li class="toctree-l2"><a class="reference internal" href="../vault/">与 HashiCorp Vault 对接</a></li>
<li class="toctree-l2"><a class="reference internal" href="../kmip/">与 KMIP 对接</a></li>
<li class="toctree-l2"><a class="reference internal" href="../opa/">与 Open Policy Agent 对接</a></li>
<li class="toctree-l2"><a class="reference internal" href="../multitenancy/">多租户</a></li>
<li class="toctree-l2"><a class="reference internal" href="../compression/">压缩</a></li>
<li class="toctree-l2"><a class="reference internal" href="../ldap-auth/">LDAP 认证</a></li>
<li class="toctree-l2"><a class="reference internal" href="../encryption/">服务器端加密</a></li>
<li class="toctree-l2"><a class="reference internal" href="../bucketpolicy/">桶策略</a></li>
<li class="toctree-l2"><a class="reference internal" href="../dynamicresharding/">动态的桶索引重分片</a></li>
<li class="toctree-l2"><a class="reference internal" href="../mfa/">多因子认证</a></li>
<li class="toctree-l2"><a class="reference internal" href="../sync-modules/">同步模块</a></li>
<li class="toctree-l2"><a class="reference internal" href="../notifications/">Bucket Notifications</a></li>
<li class="toctree-l2"><a class="reference internal" href="../layout/">RADOS 中的数据布局</a></li>
<li class="toctree-l2"><a class="reference internal" href="../STS/">STS</a></li>
<li class="toctree-l2"><a class="reference internal" href="../STSLite/">STS Lite</a></li>
<li class="toctree-l2"><a class="reference internal" href="../keycloak/">Keycloak</a></li>
<li class="toctree-l2"><a class="reference internal" href="../session-tags/">Session Tags</a></li>
<li class="toctree-l2"><a class="reference internal" href="../role/">Role</a></li>
<li class="toctree-l2"><a class="reference internal" href="../orphans/">Orphan List and Associated Tooliing</a></li>
<li class="toctree-l2"><a class="reference internal" href="../oidc/">OpenID Connect Provider</a></li>
<li class="toctree-l2"><a class="reference internal" href="../troubleshooting/">故障排除</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../man/8/radosgw/">radosgw 手册页</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../man/8/radosgw-admin/">radosgw-admin 手册页</a></li>
<li class="toctree-l2"><a class="reference internal" href="../qat-accel/">使用 QAT 为加密和压缩提速</a></li>
<li class="toctree-l2"><a class="reference internal" href="../s3select/">S3-select</a></li>
<li class="toctree-l2"><a class="reference internal" href="../lua-scripting/">Lua Scripting</a></li>
<li class="toctree-l2"><a class="reference internal" href="../d3n_datacache/">D3N Data Cache</a></li>
<li class="toctree-l2"><a class="reference internal" href="../cloud-transition/">Cloud Transition</a></li>
<li class="toctree-l2"><a class="reference internal" href="../metrics/">Metrics</a></li>
<li class="toctree-l2"><a class="reference internal" href="../uadk-accel/">UADK Acceleration for Compression</a></li>
<li class="toctree-l2"><a class="reference internal" href="../bucket_logging/">桶的日志记录</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../../mgr/">Ceph 管理器守护进程</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../mgr/dashboard/">Ceph 仪表盘</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../monitoring/">监控概览</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../api/">API 文档</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../architecture/">体系结构</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../dev/developer_guide/">开发者指南</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../dev/internals/">Ceph 内幕</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../governance/">项目管理</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../foundation/">Ceph 基金会</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../ceph-volume/">ceph-volume</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../releases/general/">Ceph 版本（总目录）</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../releases/">Ceph 版本（索引）</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../security/">Security</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../hardware-monitoring/">硬件监控</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../glossary/">Ceph 术语</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../jaegertracing/">Tracing</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../translation_cn/">中文版翻译资源</a></li>
</ul>

            
          
        </div>
        
      </div>
    </nav>

    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">

      
      <nav class="wy-nav-top" aria-label="top navigation">
        
          <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
          <a href="../../">Ceph</a>
        
      </nav>


      <div class="wy-nav-content">
        
        <div class="rst-content">
        
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
           <div itemprop="articleBody">
            
<div id="dev-warning" class="admonition note">
  <p class="first admonition-title">Notice</p>
  <p class="last">This document is for a development version of Ceph.</p>
</div>
  <div id="docubetter" align="right" style="padding: 5px; font-weight: bold;">
    <a href="https://pad.ceph.com/p/Report_Documentation_Bugs">Report a Documentation Bug</a>
  </div>

  
  <section id="ceph">
<h1>Ceph 对象网关配置参考<a class="headerlink" href="#ceph" title="Permalink to this heading"></a></h1>
<p>下列的选项可加入 Ceph 配置文件（一般是 <code class="docutils literal notranslate"><span class="pre">ceph.conf</span></code> ）的
<code class="docutils literal notranslate"><span class="pre">[client.radosgw.{instance-name}]</span></code> 段下，很多选项都有默认值，你若未指定，自然用默认。</p>
<p>rgw 或 radosgw-admin 命令执行时，如果指定了例程名，
<code class="docutils literal notranslate"><span class="pre">[client.radosgw.{instance-name}]</span></code> 段下的配置变量才有效。
有些变量如果想要应用于所有 RGW 例程或所有的 radosgw-admin 选项，
可以把它们放到 <code class="docutils literal notranslate"><span class="pre">[global]</span></code> 或 <code class="docutils literal notranslate"><span class="pre">[client]</span></code> 段内，
这样就不用加 <code class="docutils literal notranslate"><span class="pre">instance-name</span></code> 了。</p>
<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_frontends">
<span class="sig-name descname"><span class="pre">rgw_frontends</span></span><a class="headerlink" href="#confval-rgw_frontends" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>配置的是 HTTP 前端。 多个前端的配置可以写成逗号分隔的列表。 各个前端的配置是空格分隔的一系列选项， 各选项都得遵照
key=value 或 key 格式。 所支持的选项请参考 <a class="reference external" href="../frontends">HTTP 前端</a>。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">beast</span> <span class="pre">port=7480</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_data">
<span class="sig-name descname"><span class="pre">rgw_data</span></span><a class="headerlink" href="#confval-rgw_data" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>设置 Ceph 对象网关的数据文件位置。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">/var/lib/ceph/radosgw/$cluster-$id</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_enable_apis">
<span class="sig-name descname"><span class="pre">rgw_enable_apis</span></span><a class="headerlink" href="#confval-rgw_enable_apis" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>启用指定的 API 。</p>
<blockquote>
<div><div class="admonition note">
<p class="admonition-title">Note</p>
<p>在<a class="reference external" href="../multisite">多站</a>配置中，
任何要参与的
radosgw 例程都
必须启用 <code class="docutils literal notranslate"><span class="pre">s3</span></code> API 。</p>
</div>
</div></blockquote>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">s3,</span> <span class="pre">s3website,</span> <span class="pre">swift,</span> <span class="pre">swift_auth,</span> <span class="pre">admin,</span> <span class="pre">sts,</span> <span class="pre">iam,</span> <span class="pre">notifications</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_cache_enabled">
<span class="sig-name descname"><span class="pre">rgw_cache_enabled</span></span><a class="headerlink" href="#confval-rgw_cache_enabled" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>是否启用 Ceph 对象网关缓存。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">bool</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">true</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_cache_lru_size"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_cache_lru_size</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_cache_lru_size">
<span class="sig-name descname"><span class="pre">rgw_cache_lru_size</span></span><a class="headerlink" href="#confval-rgw_cache_lru_size" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>Ceph 对象网关缓存的条目限制。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">10000</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_cache_enabled"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_cache_enabled</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_dns_name">
<span class="sig-name descname"><span class="pre">rgw_dns_name</span></span><a class="headerlink" href="#confval-rgw_dns_name" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>DNS 名称，本例程为这个域服务。请参考 region 配置里的 <code class="docutils literal notranslate"><span class="pre">hostnames</span></code> 选项。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_script_uri">
<span class="sig-name descname"><span class="pre">rgw_script_uri</span></span><a class="headerlink" href="#confval-rgw_script_uri" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>如果请求中没带 <code class="docutils literal notranslate"><span class="pre">SCRIPT_URI</span></code> 字段， 这里的设置可作为补救。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_request_uri">
<span class="sig-name descname"><span class="pre">rgw_request_uri</span></span><a class="headerlink" href="#confval-rgw_request_uri" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>如果请求中没带 <code class="docutils literal notranslate"><span class="pre">REQUEST_URI</span></code> 字段， 这里的设置可作为补救。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_print_continue">
<span class="sig-name descname"><span class="pre">rgw_print_continue</span></span><a class="headerlink" href="#confval-rgw_print_continue" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>如果可能的话，启用 <code class="docutils literal notranslate"><span class="pre">100-continue</span></code> 。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">bool</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">true</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_remote_addr_param">
<span class="sig-name descname"><span class="pre">rgw_remote_addr_param</span></span><a class="headerlink" href="#confval-rgw_remote_addr_param" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>远端地址参数。例如， 包含了远端地址的 HTTP 字段、或者 <code class="docutils literal notranslate"><span class="pre">X-Forwarded-For</span></code> 地址 （如果用了反向代理）。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">REMOTE_ADDR</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_enable_ops_log"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_enable_ops_log</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_op_thread_timeout">
<span class="sig-name descname"><span class="pre">rgw_op_thread_timeout</span></span><a class="headerlink" href="#confval-rgw_op_thread_timeout" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>在运行线程的超时值，秒。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">10</span> <span class="pre">minutes</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_op_thread_suicide_timeout">
<span class="sig-name descname"><span class="pre">rgw_op_thread_suicide_timeout</span></span><a class="headerlink" href="#confval-rgw_op_thread_suicide_timeout" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>Ceph 对象网关进程的自杀超时秒数（ <code class="docutils literal notranslate"><span class="pre">timeout</span></code> ）。 设置为 <code class="docutils literal notranslate"><span class="pre">0</span></code> 时禁用。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">0</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_thread_pool_size">
<span class="sig-name descname"><span class="pre">rgw_thread_pool_size</span></span><a class="headerlink" href="#confval-rgw_thread_pool_size" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>线程池的尺寸。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">512</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_num_control_oids">
<span class="sig-name descname"><span class="pre">rgw_num_control_oids</span></span><a class="headerlink" href="#confval-rgw_num_control_oids" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>不同的 <code class="docutils literal notranslate"><span class="pre">rgw</span></code> 例程间用于缓存同步的通知对象数量。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">8</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_init_timeout">
<span class="sig-name descname"><span class="pre">rgw_init_timeout</span></span><a class="headerlink" href="#confval-rgw_init_timeout" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>Ceph 对象网关放弃初始化前坚持的秒数。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">5</span> <span class="pre">minutes</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_mime_types_file">
<span class="sig-name descname"><span class="pre">rgw_mime_types_file</span></span><a class="headerlink" href="#confval-rgw_mime_types_file" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>MIME 类型数据库文件的路径， Swift 自动探测对象类型时要用到。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">/etc/mime.types</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_s3_success_create_obj_status">
<span class="sig-name descname"><span class="pre">rgw_s3_success_create_obj_status</span></span><a class="headerlink" href="#confval-rgw_s3_success_create_obj_status" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>操作 <code class="docutils literal notranslate"><span class="pre">create-obj</span></code> 的另一种成功状态响应。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">0</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_resolve_cname">
<span class="sig-name descname"><span class="pre">rgw_resolve_cname</span></span><a class="headerlink" href="#confval-rgw_resolve_cname" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>如果主机名与 <code class="docutils literal notranslate"><span class="pre">rgw</span> <span class="pre">dns</span> <span class="pre">name</span></code> 不同， <code class="docutils literal notranslate"><span class="pre">rgw</span></code> 是否采用请求的 hostname 字段的 DNS CNAME 记录。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">bool</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">false</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_obj_stripe_size">
<span class="sig-name descname"><span class="pre">rgw_obj_stripe_size</span></span><a class="headerlink" href="#confval-rgw_obj_stripe_size" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>Ceph 对象网关的对象条带尺寸。 关于条带化请参考<a class="reference external" href="../../architecture#data-striping">体系结构</a>。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">size</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">4Mi</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_extended_http_attrs">
<span class="sig-name descname"><span class="pre">rgw_extended_http_attrs</span></span><a class="headerlink" href="#confval-rgw_extended_http_attrs" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>为实体（用户、桶或对象）新增可设置的属性集。 可以在上传实体时把这些额外属性设置在 HTTP 头的字段里、 或者用 POST 方法修改；
如果设置过，在此实体上执行 GET/HEAD 操作时这些属性就会以 HTTP 头的字段返回。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
<dt class="field-even">example<span class="colon">:</span></dt>
<dd class="field-even"><p>content_foo, content_bar, x-foo-bar</p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_exit_timeout_secs">
<span class="sig-name descname"><span class="pre">rgw_exit_timeout_secs</span></span><a class="headerlink" href="#confval-rgw_exit_timeout_secs" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>等待某一进程多少秒后无条件退出。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">2</span> <span class="pre">minutes</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_get_obj_window_size">
<span class="sig-name descname"><span class="pre">rgw_get_obj_window_size</span></span><a class="headerlink" href="#confval-rgw_get_obj_window_size" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>单个对象读请求的窗口大小（字节）。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">size</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">16Mi</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_get_obj_max_req_size">
<span class="sig-name descname"><span class="pre">rgw_get_obj_max_req_size</span></span><a class="headerlink" href="#confval-rgw_get_obj_max_req_size" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>向 Ceph 存储集群发起的单次 GET 请求的最大尺寸。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">size</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">4Mi</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_multipart_min_part_size">
<span class="sig-name descname"><span class="pre">rgw_multipart_min_part_size</span></span><a class="headerlink" href="#confval-rgw_multipart_min_part_size" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>When doing a multipart upload, each part (other than the last part)
must be at least this size.</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">size</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">5Mi</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_relaxed_s3_bucket_names">
<span class="sig-name descname"><span class="pre">rgw_relaxed_s3_bucket_names</span></span><a class="headerlink" href="#confval-rgw_relaxed_s3_bucket_names" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>对 US region 的桶启用宽松的桶名规则。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">bool</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">false</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_list_buckets_max_chunk">
<span class="sig-name descname"><span class="pre">rgw_list_buckets_max_chunk</span></span><a class="headerlink" href="#confval-rgw_list_buckets_max_chunk" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>列举用户桶时， 每次检出的最大桶数。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">1000</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_override_bucket_index_max_shards">
<span class="sig-name descname"><span class="pre">rgw_override_bucket_index_max_shards</span></span><a class="headerlink" href="#confval-rgw_override_bucket_index_max_shards" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>桶索引对象的分片数量， 0 表示没有分片。 我们不建议把这个值设置得太大（比如大于 1000 ）， 因为这样会增加罗列桶时的开销。
本变量应该配置在 client 或 global 段下， 这样它就会自动应用到 radosgw-admin 命令。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">uint</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">0</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_curl_wait_timeout_ms">
<span class="sig-name descname"><span class="pre">rgw_curl_wait_timeout_ms</span></span><a class="headerlink" href="#confval-rgw_curl_wait_timeout_ms" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>某些特定 <code class="docutils literal notranslate"><span class="pre">curl</span></code> 调用的超时值，毫秒。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">1000</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_copy_obj_progress">
<span class="sig-name descname"><span class="pre">rgw_copy_obj_progress</span></span><a class="headerlink" href="#confval-rgw_copy_obj_progress" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>长时间复制操作时允许输出对象进度。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">bool</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">true</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_copy_obj_progress_every_bytes">
<span class="sig-name descname"><span class="pre">rgw_copy_obj_progress_every_bytes</span></span><a class="headerlink" href="#confval-rgw_copy_obj_progress_every_bytes" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>复制进度输出的粒度，字节数。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">size</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">1Mi</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_max_copy_obj_concurrent_io">
<span class="sig-name descname"><span class="pre">rgw_max_copy_obj_concurrent_io</span></span><a class="headerlink" href="#confval-rgw_max_copy_obj_concurrent_io" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>Number of refcount operations to process concurrently when executing
copy_obj</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">10</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_admin_entry">
<span class="sig-name descname"><span class="pre">rgw_admin_entry</span></span><a class="headerlink" href="#confval-rgw_admin_entry" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>管理 URL 请求的入口点。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">admin</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_content_length_compat">
<span class="sig-name descname"><span class="pre">rgw_content_length_compat</span></span><a class="headerlink" href="#confval-rgw_content_length_compat" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>允许兼容设置了 <code class="docutils literal notranslate"><span class="pre">CONTENT_LENGTH</span></code> 和 <code class="docutils literal notranslate"><span class="pre">HTTP_CONTENT_LENGTH</span></code> 的 FCGI 请求。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">bool</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">false</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_bucket_quota_ttl">
<span class="sig-name descname"><span class="pre">rgw_bucket_quota_ttl</span></span><a class="headerlink" href="#confval-rgw_bucket_quota_ttl" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>缓存的配额信息仍然有效的秒数。 超时之后，配额信息需重新从集群读取。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">10</span> <span class="pre">minutes</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_user_quota_bucket_sync_interval">
<span class="sig-name descname"><span class="pre">rgw_user_quota_bucket_sync_interval</span></span><a class="headerlink" href="#confval-rgw_user_quota_bucket_sync_interval" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>桶配额信息累积多少秒再同步到集群。 在这段时间里，其它 RGW 例程们看不到这个例程上的桶配额统计信息的变更。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">3</span> <span class="pre">minutes</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_user_quota_sync_interval">
<span class="sig-name descname"><span class="pre">rgw_user_quota_sync_interval</span></span><a class="headerlink" href="#confval-rgw_user_quota_sync_interval" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>用户配额信息累积多少秒再同步到集群。 在这段时间里，其它 RGW 例程们看不到这个例程上的用户配额统计信息的变更。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">1</span> <span class="pre">day</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_bucket_default_quota_max_objects">
<span class="sig-name descname"><span class="pre">rgw_bucket_default_quota_max_objects</span></span><a class="headerlink" href="#confval-rgw_bucket_default_quota_max_objects" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>每个桶默认的最大对象数量。 新用户如果没其它配额操作，就采用此值。对已有用户没影响。 这个变量应该设置在 client 或 global
段下， 这样配置对 radosgw-admin 命令也管用。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">-1</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_bucket_default_quota_max_size">
<span class="sig-name descname"><span class="pre">rgw_bucket_default_quota_max_size</span></span><a class="headerlink" href="#confval-rgw_bucket_default_quota_max_size" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>每个桶默认的最大容量，单位为字节。 新用户如果没其它配额操作，就采用此值。对已有用户没影响。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">-1</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_user_default_quota_max_objects">
<span class="sig-name descname"><span class="pre">rgw_user_default_quota_max_objects</span></span><a class="headerlink" href="#confval-rgw_user_default_quota_max_objects" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>用户默认的最大对象数，此用户的所有桶内的所有对象都计算在内。 新用户如果没另外指定配额，就采用此选项的值。 对已有用户没影响。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">-1</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_user_default_quota_max_size">
<span class="sig-name descname"><span class="pre">rgw_user_default_quota_max_size</span></span><a class="headerlink" href="#confval-rgw_user_default_quota_max_size" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>如果没另外指定配额，此选项将为新用户设置的最大配额尺寸， 单位为字节。对已有用户没影响。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">-1</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_account_default_quota_max_objects">
<span class="sig-name descname"><span class="pre">rgw_account_default_quota_max_objects</span></span><a class="headerlink" href="#confval-rgw_account_default_quota_max_objects" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>Default max number of objects for a account. This includes all objects
in all buckets owned by the account. Set on new accounts if no other
quota is specified. Has no effect on existing accounts.</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">-1</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_account_default_quota_max_size">
<span class="sig-name descname"><span class="pre">rgw_account_default_quota_max_size</span></span><a class="headerlink" href="#confval-rgw_account_default_quota_max_size" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>The value for account max size quota in bytes set on new accounts, if
no other quota is specified.  Has no effect on existing accounts.</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">-1</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_verify_ssl">
<span class="sig-name descname"><span class="pre">rgw_verify_ssl</span></span><a class="headerlink" href="#confval-rgw_verify_ssl" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>发出请求时验证 SSL 证书。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">bool</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">true</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_keystone_verify_ssl"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_keystone_verify_ssl</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_max_chunk_size">
<span class="sig-name descname"><span class="pre">rgw_max_chunk_size</span></span><a class="headerlink" href="#confval-rgw_max_chunk_size" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>The chunk size is the size of RADOS I/O requests that RGW sends when
accessing data objects. RGW read and write operations will never
request more than this amount in a single request. This also defines
the RGW head object size, as head operations need to be atomic, and
anything larger than this would require more than a single operation.
When RGW objects are written to the default storage class, up to this
amount of payload data will be stored alongside metadata in the head
object.</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">size</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">4Mi</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<section id="id2">
<h2>生命周期配置<a class="headerlink" href="#id2" title="Permalink to this heading"></a></h2>
<p>桶的生命周期（ Lifecycle ）配置可以用于管理对象，
使得它们在整个生命周期内得到有效存储。在以前的版本中，
生命周期的处理效率被单线程耽误了；到 Nautilus 版，这个问题得到了彻底解决，
Ceph 对象网关现在可以调用另外的 Ceph 对象网关例程、并用随机排序的序列取代了按顺序排列的索引分片枚举，以此实现了桶生命周期的并行多线程处理。</p>
<p>在寻求提高生命周期处理的激进性时，有两个选项需要特别注意：</p>
<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_lc_max_worker">
<span class="sig-name descname"><span class="pre">rgw_lc_max_worker</span></span><a class="headerlink" href="#confval-rgw_lc_max_worker" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>This option specifies the number of lifecycle worker threads to run in
parallel, thereby processing bucket and index shards simultaneously.</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">3</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_lc_max_wp_worker">
<span class="sig-name descname"><span class="pre">rgw_lc_max_wp_worker</span></span><a class="headerlink" href="#confval-rgw_lc_max_wp_worker" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>This option specifies the number of threads in each lifecycle workers
work pool. This option can help accelerate processing each bucket.</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">3</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<p>你可以根据自己的负载情况对这些选项进行调整，以得到更激进的生命周期处理效率。
对于有大量桶（数千）的情形，你应该试着增加 <a class="reference internal" href="#confval-rgw_lc_max_worker"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_lc_max_worker</span></code></a> 的值，
它的默认值是 3 ，而对于桶数量较少、每个桶内对象数却更高（数十万）的情形，
你应该试着降低 <a class="reference internal" href="#confval-rgw_lc_max_wp_worker"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_lc_max_wp_worker</span></code></a> ，默认值是 3 。</p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>试着调整这两个特定的取值前，请验证当前的集群性能、
以及 Ceph 对象网关的利用率。</p>
</div>
</section>
<section id="id3">
<h2>垃圾回收选项<a class="headerlink" href="#id3" title="Permalink to this heading"></a></h2>
<p>Ceph 对象网关会立即为新对象分配存储。</p>
<p>网关从桶索引中删除对象一段时间之后， Ceph 对象网关才会把已删除对象和已被覆盖对象在 Ceph 存储集群里占用的存储空间清理掉。
从 Ceph 存储集群清理已删除对象数据的过程叫做垃圾回收（ Garbage Collection ）或 GC 。</p>
<p>要查看等待垃圾回收的对象队列，执行以下命令</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><style type="text/css">
span.prompt1:before {
  content: "$ ";
}
</style><span class="prompt1">radosgw-admin<span class="w"> </span>gc<span class="w"> </span>list</span>
</pre></div></div><div class="admonition note">
<p class="admonition-title">Note</p>
<p>加 <code class="docutils literal notranslate"><span class="pre">--include-all</span></code> 罗列所有条目，包括未到期的。</p>
</div>
<p>垃圾回收是后台活动，可以持续运行或在负载低的时候运行，
取决于管理员是如何配置 Ceph 对象网关的。
默认情况下， Ceph 会让 GC 操作持续运行。
GC 操作是 Ceph 对象网关各种操作的常规部分，
特别是有对象删除操作时，大多数时候都存在适合垃圾回收的对象。</p>
<p>有的工作负荷会暂时或者永久地超过垃圾回收活动的速率。
特别是有很多对象短暂存储然后删除的工作载荷，会有大量删除。
对于这样的工作载荷，管理员可以用下面的配置参数，
适当增加垃圾回收操作相对于其它操作的优先级。</p>
<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_gc_max_objs">
<span class="sig-name descname"><span class="pre">rgw_gc_max_objs</span></span><a class="headerlink" href="#confval-rgw_gc_max_objs" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>垃圾回收进程在一个处理周期内可处理的最大对象数。 首次部署后请勿更改此值。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">32</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_gc_obj_min_wait"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_gc_obj_min_wait</span></code></a>, <a class="reference internal" href="#confval-rgw_gc_processor_max_time"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_gc_processor_max_time</span></code></a>, <a class="reference internal" href="#confval-rgw_gc_processor_period"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_gc_processor_period</span></code></a>, <a class="reference internal" href="#confval-rgw_gc_max_concurrent_io"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_gc_max_concurrent_io</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_gc_obj_min_wait">
<span class="sig-name descname"><span class="pre">rgw_gc_obj_min_wait</span></span><a class="headerlink" href="#confval-rgw_gc_obj_min_wait" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>已被删除的对象最少等待多长时间， 才能由垃圾回收器清除和处理。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">2</span> <span class="pre">hours</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_gc_max_objs"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_gc_max_objs</span></code></a>, <a class="reference internal" href="#confval-rgw_gc_processor_max_time"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_gc_processor_max_time</span></code></a>, <a class="reference internal" href="#confval-rgw_gc_processor_period"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_gc_processor_period</span></code></a>, <a class="reference internal" href="#confval-rgw_gc_max_concurrent_io"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_gc_max_concurrent_io</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_gc_processor_max_time">
<span class="sig-name descname"><span class="pre">rgw_gc_processor_max_time</span></span><a class="headerlink" href="#confval-rgw_gc_processor_max_time" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>两个连续的垃圾回收周期起点的最大时间间隔。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">1</span> <span class="pre">hour</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_gc_max_objs"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_gc_max_objs</span></code></a>, <a class="reference internal" href="#confval-rgw_gc_obj_min_wait"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_gc_obj_min_wait</span></code></a>, <a class="reference internal" href="#confval-rgw_gc_processor_period"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_gc_processor_period</span></code></a>, <a class="reference internal" href="#confval-rgw_gc_max_concurrent_io"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_gc_max_concurrent_io</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_gc_processor_period">
<span class="sig-name descname"><span class="pre">rgw_gc_processor_period</span></span><a class="headerlink" href="#confval-rgw_gc_processor_period" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>垃圾回收进程的运行周期。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">1</span> <span class="pre">hour</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_gc_max_objs"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_gc_max_objs</span></code></a>, <a class="reference internal" href="#confval-rgw_gc_obj_min_wait"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_gc_obj_min_wait</span></code></a>, <a class="reference internal" href="#confval-rgw_gc_processor_max_time"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_gc_processor_max_time</span></code></a>, <a class="reference internal" href="#confval-rgw_gc_max_concurrent_io"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_gc_max_concurrent_io</span></code></a>, <code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_gc_max_trim_chunk</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_gc_max_concurrent_io">
<span class="sig-name descname"><span class="pre">rgw_gc_max_concurrent_io</span></span><a class="headerlink" href="#confval-rgw_gc_max_concurrent_io" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>The maximum number of concurrent IO operations that the RGW garbage
collection thread will use when purging old data.</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">10</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_gc_max_objs"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_gc_max_objs</span></code></a>, <a class="reference internal" href="#confval-rgw_gc_obj_min_wait"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_gc_obj_min_wait</span></code></a>, <a class="reference internal" href="#confval-rgw_gc_processor_max_time"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_gc_processor_max_time</span></code></a>, <code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_gc_max_trim_chunk</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="field-list simple">
<dt class="field-odd">为删除量大的工作载荷调整垃圾回收<span class="colon">:</span></dt>
<dd class="field-odd"><p></p></dd>
</dl>
<p>要把 Ceph 的垃圾回收调整得更激进，首先，建议在默认值的基础上增大下面的选项:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">rgw_gc_max_concurrent_io</span> <span class="o">=</span> <span class="mi">20</span>
<span class="n">rgw_gc_max_trim_chunk</span> <span class="o">=</span> <span class="mi">64</span>
</pre></div>
</div>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>修改这些值需要重启 RGW 服务。</p>
</div>
<p>这些值调整得高于默认值后，需要在垃圾回收期间监控集群性能，
检验一下增加这些值没有对性能带来负面影响。</p>
</section>
<section id="id4">
<h2>多站设置<a class="headerlink" href="#id4" title="Permalink to this heading"></a></h2>
<div class="versionadded">
<p><span class="versionmodified added">New in version Jewel.</span></p>
</div>
<p>你可以在 Ceph 配置文件中的各例程 <code class="docutils literal notranslate"><span class="pre">[client.radosgw.{instance-name}]</span></code>
段下设置下列选项。</p>
<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_zone">
<span class="sig-name descname"><span class="pre">rgw_zone</span></span><a class="headerlink" href="#confval-rgw_zone" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>网关例程所在域的名称。 如果没配置过域，可以用命令 <code class="docutils literal notranslate"><span class="pre">radosgw-admin</span> <span class="pre">zone</span> <span class="pre">default</span></code> 来配置集群范围的默认值。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
<dt class="field-even">see also<span class="colon">:</span></dt>
<dd class="field-even"><p><a class="reference internal" href="#confval-rgw_zonegroup"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_zonegroup</span></code></a>, <a class="reference internal" href="#confval-rgw_realm"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_realm</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_zonegroup">
<span class="sig-name descname"><span class="pre">rgw_zonegroup</span></span><a class="headerlink" href="#confval-rgw_zonegroup" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>网关例程所在域组的名字。 如果还没有设置域组，可以用 <code class="docutils literal notranslate"><span class="pre">radosgw-admin</span> <span class="pre">zonegroup</span> <span class="pre">default</span></code> 命令配置集群范围的默认值。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
<dt class="field-even">see also<span class="colon">:</span></dt>
<dd class="field-even"><p><a class="reference internal" href="#confval-rgw_zone"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_zone</span></code></a>, <a class="reference internal" href="#confval-rgw_realm"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_realm</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_realm">
<span class="sig-name descname"><span class="pre">rgw_realm</span></span><a class="headerlink" href="#confval-rgw_realm" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>网关例程所在 realm 的名字。 如果还没有设置 realm ，可以用 <code class="docutils literal notranslate"><span class="pre">radosgw-admin</span> <span class="pre">realm</span> <span class="pre">default</span></code>
命令 设置集群范围的默认值。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_run_sync_thread">
<span class="sig-name descname"><span class="pre">rgw_run_sync_thread</span></span><a class="headerlink" href="#confval-rgw_run_sync_thread" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>如果 realm 里有要同步的其它域， 就派生出线程来处理数据和元数据的同步。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">bool</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">true</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_data_log_window">
<span class="sig-name descname"><span class="pre">rgw_data_log_window</span></span><a class="headerlink" href="#confval-rgw_data_log_window" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>数据日志条数窗口，秒。（译者注：多长时间的日志封装一个文件？）</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">30</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_data_log_changes_size">
<span class="sig-name descname"><span class="pre">rgw_data_log_changes_size</span></span><a class="headerlink" href="#confval-rgw_data_log_changes_size" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>RGW will trigger update to the data log if the number of pending
entries reached this number.</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">1000</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_data_log_num_shards">
<span class="sig-name descname"><span class="pre">rgw_data_log_num_shards</span></span><a class="headerlink" href="#confval-rgw_data_log_num_shards" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>用于保存数据变更日志的分片（对象） 数量。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">128</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_md_log_max_shards">
<span class="sig-name descname"><span class="pre">rgw_md_log_max_shards</span></span><a class="headerlink" href="#confval-rgw_md_log_max_shards" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>用于元数据日志的最大分片数量。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">64</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_data_sync_poll_interval">
<span class="sig-name descname"><span class="pre">rgw_data_sync_poll_interval</span></span><a class="headerlink" href="#confval-rgw_data_sync_poll_interval" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>Once multisite’s incremental sync of a datalog shard is caught up with
its source, it will wait this long (in seconds) before polling for
more changes.</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">20</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_meta_sync_poll_interval"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_meta_sync_poll_interval</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_meta_sync_poll_interval">
<span class="sig-name descname"><span class="pre">rgw_meta_sync_poll_interval</span></span><a class="headerlink" href="#confval-rgw_meta_sync_poll_interval" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>Once multisite’s incremental sync of a mdlog shard is caught up with
its source, it will wait this long (in seconds) before polling for
more changes.</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">20</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_data_sync_poll_interval"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_data_sync_poll_interval</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_bucket_sync_spawn_window">
<span class="sig-name descname"><span class="pre">rgw_bucket_sync_spawn_window</span></span><a class="headerlink" href="#confval-rgw_bucket_sync_spawn_window" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>The maximum number of items that bucket sync is willing to process in
parallel (per remote bilog shard).</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">20</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_data_sync_spawn_window"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_data_sync_spawn_window</span></code></a>, <a class="reference internal" href="#confval-rgw_meta_sync_spawn_window"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_meta_sync_spawn_window</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_data_sync_spawn_window">
<span class="sig-name descname"><span class="pre">rgw_data_sync_spawn_window</span></span><a class="headerlink" href="#confval-rgw_data_sync_spawn_window" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>The maximum number of items that data sync is willing to process in
parallel (per remote datalog shard).</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">20</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_bucket_sync_spawn_window"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_bucket_sync_spawn_window</span></code></a>, <a class="reference internal" href="#confval-rgw_meta_sync_spawn_window"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_meta_sync_spawn_window</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_meta_sync_spawn_window">
<span class="sig-name descname"><span class="pre">rgw_meta_sync_spawn_window</span></span><a class="headerlink" href="#confval-rgw_meta_sync_spawn_window" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>The maximum number of items that metadata sync is willing to process
in parallel (per remote mdlog shard).</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">20</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_bucket_sync_spawn_window"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_bucket_sync_spawn_window</span></code></a>, <a class="reference internal" href="#confval-rgw_data_sync_spawn_window"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_data_sync_spawn_window</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<div class="admonition important">
<p class="admonition-title">Important</p>
<p>开始同步后就不应该再更改 <a class="reference internal" href="#confval-rgw_data_log_num_shards"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_data_log_num_shards</span></code></a> 和
<a class="reference internal" href="#confval-rgw_md_log_max_shards"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_md_log_max_shards</span></code></a> 的取值了。</p>
</div>
</section>
<section id="s3">
<h2>S3 选项<a class="headerlink" href="#s3" title="Permalink to this heading"></a></h2>
<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_s3_auth_use_ldap">
<span class="sig-name descname"><span class="pre">rgw_s3_auth_use_ldap</span></span><a class="headerlink" href="#confval-rgw_s3_auth_use_ldap" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>S3 认证是否使用 LDAP 。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">bool</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">false</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

</section>
<section id="swift">
<h2>Swift 选项<a class="headerlink" href="#swift" title="Permalink to this heading"></a></h2>
<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_enforce_swift_acls">
<span class="sig-name descname"><span class="pre">rgw_enforce_swift_acls</span></span><a class="headerlink" href="#confval-rgw_enforce_swift_acls" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>强制使用 Swift 的访问控制列表（ ACL ）选项。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">bool</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">true</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_swift_tenant_name">
<span class="sig-name descname"><span class="pre">rgw_swift_tenant_name</span></span><a class="headerlink" href="#confval-rgw_swift_tenant_name" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>Tenant name that is used when constructing the swift path.</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
<dt class="field-even">see also<span class="colon">:</span></dt>
<dd class="field-even"><p><a class="reference internal" href="#confval-rgw_swift_account_in_url"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_swift_account_in_url</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_swift_token_expiration">
<span class="sig-name descname"><span class="pre">rgw_swift_token_expiration</span></span><a class="headerlink" href="#confval-rgw_swift_token_expiration" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>Swift 令牌过期时间，秒。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">1</span> <span class="pre">day</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_swift_url">
<span class="sig-name descname"><span class="pre">rgw_swift_url</span></span><a class="headerlink" href="#confval-rgw_swift_url" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>Ceph 对象网关 Swift 接口的 URL 。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
<dt class="field-even">see also<span class="colon">:</span></dt>
<dd class="field-even"><p><a class="reference internal" href="#confval-rgw_swift_auth_entry"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_swift_auth_entry</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_swift_url_prefix">
<span class="sig-name descname"><span class="pre">rgw_swift_url_prefix</span></span><a class="headerlink" href="#confval-rgw_swift_url_prefix" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>Swift API 的 URL 前缀，为区别于 S3 API 的终结点。
默认是 <code class="docutils literal notranslate"><span class="pre">swift</span></code> ，这样 Swift API 就会以 URL
<code class="docutils literal notranslate"><span class="pre">http://host:port/swift/v1</span></code> （或者，启用
<code class="docutils literal notranslate"><span class="pre">rgw</span> <span class="pre">swift</span> <span class="pre">account</span> <span class="pre">in</span> <span class="pre">url</span></code> 时将是
<code class="docutils literal notranslate"><span class="pre">http://host:port/swift/v1/AUTH_%(tenant_id)s</span></code> ）
暴露出来。</p>
<p>考虑到兼容性，此选项设置为空字符串时，
将使用默认值 <code class="docutils literal notranslate"><span class="pre">swift</span></code> ；
如果你想要前缀为空，
可以把此选项设置为 <code class="docutils literal notranslate"><span class="pre">/</span></code> 。</p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>If you set this option to <code class="docutils literal notranslate"><span class="pre">/</span></code>, you must
disable the S3 API by modifying <code class="docutils literal notranslate"><span class="pre">rgw</span>
<span class="pre">enable</span> <span class="pre">apis</span></code> to exclude <code class="docutils literal notranslate"><span class="pre">s3</span></code>. It is not
possible to operate radosgw with <code class="docutils literal notranslate"><span class="pre">rgw</span>
<span class="pre">swift</span> <span class="pre">url</span> <span class="pre">prefix</span> <span class="pre">=</span> <span class="pre">/</span></code> and simultaneously
support both the S3 and Swift APIs. If you
do need to support both APIs without
prefixes, deploy multiple radosgw instances
to listen on different hosts (or ports)
instead, enabling some for S3 and some for
Swift.</p>
</div>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">swift</span></code></p>
</dd>
<dt class="field-odd">example<span class="colon">:</span></dt>
<dd class="field-odd"><p>/swift-testing</p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_swift_auth_url">
<span class="sig-name descname"><span class="pre">rgw_swift_auth_url</span></span><a class="headerlink" href="#confval-rgw_swift_auth_url" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>验证 v1 版令牌的、 RGW 要连接的默认 URL （如果没用 Swift 内建认证）。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_swift_auth_entry">
<span class="sig-name descname"><span class="pre">rgw_swift_auth_entry</span></span><a class="headerlink" href="#confval-rgw_swift_auth_entry" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>Swift 认证 URL 的入口点。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">auth</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_swift_url"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_swift_url</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_swift_account_in_url">
<span class="sig-name descname"><span class="pre">rgw_swift_account_in_url</span></span><a class="headerlink" href="#confval-rgw_swift_account_in_url" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>Whether or not the Swift account name should be included
in the Swift API URL.
If set to <code class="docutils literal notranslate"><span class="pre">false</span></code> (the default), then the Swift API
will listen on a URL formed like
<code class="docutils literal notranslate"><span class="pre">http://host:port/&lt;rgw_swift_url_prefix&gt;/v1</span></code>, and the
account name (commonly a Keystone project UUID if
radosgw is configured with <a class="reference external" href="../keystone">Keystone integration</a>) will be inferred from request
headers.
If set to <code class="docutils literal notranslate"><span class="pre">true</span></code>, the Swift API URL will be
<code class="docutils literal notranslate"><span class="pre">http://host:port/&lt;rgw_swift_url_prefix&gt;/v1/AUTH_&lt;account_name&gt;</span></code>
(or
<code class="docutils literal notranslate"><span class="pre">http://host:port/&lt;rgw_swift_url_prefix&gt;/v1/AUTH_&lt;keystone_project_id</span>
<span class="pre">&gt;</span></code>)
instead, and the Keystone <code class="docutils literal notranslate"><span class="pre">object-store</span></code> endpoint must
accordingly be configured to include the
<code class="docutils literal notranslate"><span class="pre">AUTH_%(tenant_id)s</span></code> suffix.
You <strong>must</strong> set this option to <code class="docutils literal notranslate"><span class="pre">true</span></code> (and update the
Keystone service catalog) if you want radosgw to support
publicly-readable containers and <a class="reference external" href="../swift/tempurl">temporary URLs</a>.</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">bool</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">false</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_swift_tenant_name"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_swift_tenant_name</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_swift_versioning_enabled">
<span class="sig-name descname"><span class="pre">rgw_swift_versioning_enabled</span></span><a class="headerlink" href="#confval-rgw_swift_versioning_enabled" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>启用 OpenStack 对象存储 API 的对象版本控制功能，
这样客户端就能在想要做版本控制的容器上设置
<code class="docutils literal notranslate"><span class="pre">X-Versions-Location</span></code> 属性了，
该属性用于指定存储着存档版本的容器。
做版本控制的容器必须是同一个用户拥有的，
因为要通过访问控制验证—— ACL <strong>不会</strong>被纳入版本控制。
容器版本控制与 S3 对象版本控制机制不兼容。</p>
<p>还有个稍有不同的属性， <code class="docutils literal notranslate"><span class="pre">X-History-Location</span></code> ，
<a class="reference external" href="https://docs.openstack.org/swift/latest/api/object_versioning.html">OpenStack Swift</a>
也支持，是用于处理 <code class="docutils literal notranslate"><span class="pre">DELETE</span></code> 操作的。
现在还不支持。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">bool</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">false</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_trust_forwarded_https">
<span class="sig-name descname"><span class="pre">rgw_trust_forwarded_https</span></span><a class="headerlink" href="#confval-rgw_trust_forwarded_https" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>When a proxy in front of radosgw is used for ssl termination, radosgw
does not know whether incoming http connections are secure. Enable
this option to trust the <code class="docutils literal notranslate"><span class="pre">Forwarded</span></code> and <code class="docutils literal notranslate"><span class="pre">X-Forwarded-Proto</span></code>
headers sent by the proxy when determining whether the connection is
secure. This is required for some features, such as server side
encryption. (Never enable this setting if you do not have a trusted
proxy in front of radosgw, or else malicious users will be able to set
these headers in any request.)</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">bool</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">false</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_require_ssl</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

</section>
<section id="id5">
<h2>日志记录选项<a class="headerlink" href="#id5" title="Permalink to this heading"></a></h2>
<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_log_nonexistent_bucket">
<span class="sig-name descname"><span class="pre">rgw_log_nonexistent_bucket</span></span><a class="headerlink" href="#confval-rgw_log_nonexistent_bucket" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>让 Ceph 对象网关记录访问不存在的桶的请求。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">bool</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">false</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_enable_ops_log"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_enable_ops_log</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_log_object_name">
<span class="sig-name descname"><span class="pre">rgw_log_object_name</span></span><a class="headerlink" href="#confval-rgw_log_object_name" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>对象名的记录格式。 关于格式说明见 <em class="manpage">date</em> 。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">%Y-%m-%d-%H-%i-%n</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_enable_ops_log"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_enable_ops_log</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_log_object_name_utc">
<span class="sig-name descname"><span class="pre">rgw_log_object_name_utc</span></span><a class="headerlink" href="#confval-rgw_log_object_name_utc" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>记录的对象名是否需包含 UTC 时间， 设置为 <code class="docutils literal notranslate"><span class="pre">false</span></code> 时将使用本地时间。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">bool</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">false</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_enable_ops_log"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_enable_ops_log</span></code></a>, <a class="reference internal" href="#confval-rgw_log_object_name"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_log_object_name</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_usage_max_shards">
<span class="sig-name descname"><span class="pre">rgw_usage_max_shards</span></span><a class="headerlink" href="#confval-rgw_usage_max_shards" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>使用率日志的最大分片数量。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">32</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_enable_usage_log"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_enable_usage_log</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_usage_max_user_shards">
<span class="sig-name descname"><span class="pre">rgw_usage_max_user_shards</span></span><a class="headerlink" href="#confval-rgw_usage_max_user_shards" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>单个用户使用率日志的最大分片数量。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">1</span></code></p>
</dd>
<dt class="field-odd">min<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">1</span></code></p>
</dd>
<dt class="field-even">see also<span class="colon">:</span></dt>
<dd class="field-even"><p><a class="reference internal" href="#confval-rgw_enable_usage_log"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_enable_usage_log</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_enable_ops_log">
<span class="sig-name descname"><span class="pre">rgw_enable_ops_log</span></span><a class="headerlink" href="#confval-rgw_enable_ops_log" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>允许记录各个成功的 Ceph 对象网关操作。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">bool</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">false</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_log_nonexistent_bucket"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_log_nonexistent_bucket</span></code></a>, <a class="reference internal" href="#confval-rgw_log_object_name"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_log_object_name</span></code></a>, <a class="reference internal" href="#confval-rgw_ops_log_rados"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_ops_log_rados</span></code></a>, <a class="reference internal" href="#confval-rgw_ops_log_socket_path"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_ops_log_socket_path</span></code></a>, <code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_ops_log_file_path</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_enable_usage_log">
<span class="sig-name descname"><span class="pre">rgw_enable_usage_log</span></span><a class="headerlink" href="#confval-rgw_enable_usage_log" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>允许记录使用率日志。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">bool</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">false</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_usage_max_shards"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_usage_max_shards</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_ops_log_rados">
<span class="sig-name descname"><span class="pre">rgw_ops_log_rados</span></span><a class="headerlink" href="#confval-rgw_ops_log_rados" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>操作日志是否应该写入 Ceph 存储集群后端。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">bool</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">false</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_enable_ops_log"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_enable_ops_log</span></code></a>, <a class="reference internal" href="#confval-rgw_log_object_name_utc"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_log_object_name_utc</span></code></a>, <a class="reference internal" href="#confval-rgw_log_object_name"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_log_object_name</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_ops_log_socket_path">
<span class="sig-name descname"><span class="pre">rgw_ops_log_socket_path</span></span><a class="headerlink" href="#confval-rgw_ops_log_socket_path" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>用于写入操作日志的 Unix 域套接字。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
<dt class="field-even">see also<span class="colon">:</span></dt>
<dd class="field-even"><p><a class="reference internal" href="#confval-rgw_enable_ops_log"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_enable_ops_log</span></code></a>, <a class="reference internal" href="#confval-rgw_ops_log_data_backlog"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_ops_log_data_backlog</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_ops_log_data_backlog">
<span class="sig-name descname"><span class="pre">rgw_ops_log_data_backlog</span></span><a class="headerlink" href="#confval-rgw_ops_log_data_backlog" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>最多积攒多少操作日志数据才写入 Unix 域套接字。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">size</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">5Mi</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_enable_ops_log"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_enable_ops_log</span></code></a>, <a class="reference internal" href="#confval-rgw_ops_log_socket_path"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_ops_log_socket_path</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_usage_log_flush_threshold">
<span class="sig-name descname"><span class="pre">rgw_usage_log_flush_threshold</span></span><a class="headerlink" href="#confval-rgw_usage_log_flush_threshold" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>使用率日志合并过多少条目才同步地刷回。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">1024</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_enable_usage_log"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_enable_usage_log</span></code></a>, <a class="reference internal" href="#confval-rgw_usage_log_tick_interval"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_usage_log_tick_interval</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_usage_log_tick_interval">
<span class="sig-name descname"><span class="pre">rgw_usage_log_tick_interval</span></span><a class="headerlink" href="#confval-rgw_usage_log_tick_interval" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>每 <code class="docutils literal notranslate"><span class="pre">n</span></code> 秒执行一次使用率日志数据刷回。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">30</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_enable_usage_log"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_enable_usage_log</span></code></a>, <a class="reference internal" href="#confval-rgw_usage_log_flush_threshold"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_usage_log_flush_threshold</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_log_http_headers">
<span class="sig-name descname"><span class="pre">rgw_log_http_headers</span></span><a class="headerlink" href="#confval-rgw_log_http_headers" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>操作日志里要记录的 HTTP 头，挨个罗列，以逗号分隔。 头名字必须是全名，对大小写不敏感， 单词用下划线分隔。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
<dt class="field-even">example<span class="colon">:</span></dt>
<dd class="field-even"><p>http_x_forwarded_for, http_x_special_k</p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

</section>
<section id="keystone">
<h2>Keystone 选项<a class="headerlink" href="#keystone" title="Permalink to this heading"></a></h2>
<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_keystone_url">
<span class="sig-name descname"><span class="pre">rgw_keystone_url</span></span><a class="headerlink" href="#confval-rgw_keystone_url" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>Keystone 服务器的 URL 。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_keystone_admin_domain">
<span class="sig-name descname"><span class="pre">rgw_keystone_admin_domain</span></span><a class="headerlink" href="#confval-rgw_keystone_admin_domain" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>使用 v3 版本的 OpenStack Identity API 时， 需在这里设置具备管理权限的 OpenStack 域名。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_keystone_admin_project">
<span class="sig-name descname"><span class="pre">rgw_keystone_admin_project</span></span><a class="headerlink" href="#confval-rgw_keystone_admin_project" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>使用 v3 版本的 OpenStack Identity API 时， 需在这里设置具备管理权限的 OpenStack 项目名。
未设置时，将采用 <code class="docutils literal notranslate"><span class="pre">rgw</span> <span class="pre">keystone</span> <span class="pre">admin</span> <span class="pre">tenant</span></code> 的值。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_keystone_admin_token">
<span class="sig-name descname"><span class="pre">rgw_keystone_admin_token</span></span><a class="headerlink" href="#confval-rgw_keystone_admin_token" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>Keystone 的管理令牌（共享密钥）。 在 Ceph RadosGW 认证时，会优先用管理令牌， 然后才是管理凭证（
<code class="docutils literal notranslate"><span class="pre">rgw_keystone_admin_user</span></code> 、 <code class="docutils literal notranslate"><span class="pre">rgw_keystone_admin_password</span></code> 、
<code class="docutils literal notranslate"><span class="pre">rgw_keystone_admin_tenant</span></code> 、 <code class="docutils literal notranslate"><span class="pre">rgw_keystone_admin_project</span></code> 、
<code class="docutils literal notranslate"><span class="pre">rgw_keystone_admin_domain</span></code> ）。 管理令牌功能已经废弃，但还能用来与旧环境对接。
应该优先考虑配置此选项，而非配置 <code class="docutils literal notranslate"><span class="pre">rgw_keystone_admin_token_path</span></code> ， 以免暴露令牌。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_keystone_admin_token_path">
<span class="sig-name descname"><span class="pre">rgw_keystone_admin_token_path</span></span><a class="headerlink" href="#confval-rgw_keystone_admin_token_path" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>Path to a file containing the Keystone admin token (shared secret).
In Ceph RadosGW authentication with the admin token has priority over
authentication with the admin credentials
(<code class="docutils literal notranslate"><span class="pre">rgw_keystone_admin_user</span></code>, <code class="docutils literal notranslate"><span class="pre">rgw_keystone_admin_password</span></code>,
<code class="docutils literal notranslate"><span class="pre">rgw_keystone_admin_tenant</span></code>, <code class="docutils literal notranslate"><span class="pre">rgw_keystone_admin_project</span></code>,
<code class="docutils literal notranslate"><span class="pre">rgw_keystone_admin_domain</span></code>). The Keystone admin token has been
deprecated, but can be used to integrate with older environments.</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_keystone_admin_tenant">
<span class="sig-name descname"><span class="pre">rgw_keystone_admin_tenant</span></span><a class="headerlink" href="#confval-rgw_keystone_admin_tenant" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>使用 v2 版本的 OpenStack Identity API 时，在这里配置具备管理权限的 OpenStack 租户（服务租户，
Service Tenant ）的名字。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_keystone_admin_user">
<span class="sig-name descname"><span class="pre">rgw_keystone_admin_user</span></span><a class="headerlink" href="#confval-rgw_keystone_admin_user" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>使用 v2 版本的 OpenStack Identity API 时，在这里配置具备管理权限的 OpenStack 用户的名字，用来与
Keystone 认证（服务用户， Service User ）。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_keystone_admin_password">
<span class="sig-name descname"><span class="pre">rgw_keystone_admin_password</span></span><a class="headerlink" href="#confval-rgw_keystone_admin_password" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>使用 v2 版本的 OpenStack Identity API 时， 在这里配置 OpenStack 管理用户的密码。 应该去配置
<code class="docutils literal notranslate"><span class="pre">rgw_keystone_admin_password_path</span></code> 而非这个选项，以免暴露令牌。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_keystone_admin_password_path">
<span class="sig-name descname"><span class="pre">rgw_keystone_admin_password_path</span></span><a class="headerlink" href="#confval-rgw_keystone_admin_password_path" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>Path to a file containing the password for OpenStack admin user when
using OpenStack Identity API v2.</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_keystone_accepted_roles">
<span class="sig-name descname"><span class="pre">rgw_keystone_accepted_roles</span></span><a class="headerlink" href="#confval-rgw_keystone_accepted_roles" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>要响应请求所需的角色。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">Member,</span> <span class="pre">admin</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_keystone_token_cache_size">
<span class="sig-name descname"><span class="pre">rgw_keystone_token_cache_size</span></span><a class="headerlink" href="#confval-rgw_keystone_token_cache_size" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>各 Keystone 令牌缓存的最大条数。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">10000</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_keystone_verify_ssl">
<span class="sig-name descname"><span class="pre">rgw_keystone_verify_ssl</span></span><a class="headerlink" href="#confval-rgw_keystone_verify_ssl" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>向 keystone 发出令牌请求时要核对 SSL 证书。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">bool</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">true</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_keystone_service_token_enabled">
<span class="sig-name descname"><span class="pre">rgw_keystone_service_token_enabled</span></span><a class="headerlink" href="#confval-rgw_keystone_service_token_enabled" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>The service token support allows the incoming request to contain a
X-Service-Token header with a Keystone token that if it has acceptable
roles allows using an expired token in the X-Auth-Token header.</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">bool</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">false</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_keystone_service_token_accepted_roles"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_keystone_service_token_accepted_roles</span></code></a>, <a class="reference internal" href="#confval-rgw_keystone_expired_token_cache_expiration"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_keystone_expired_token_cache_expiration</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_keystone_service_token_accepted_roles">
<span class="sig-name descname"><span class="pre">rgw_keystone_service_token_accepted_roles</span></span><a class="headerlink" href="#confval-rgw_keystone_service_token_accepted_roles" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>The users that created the service token given must have one of these
roles to be considered a valid service user.</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">admin</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_keystone_service_token_enabled"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_keystone_service_token_enabled</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_keystone_expired_token_cache_expiration">
<span class="sig-name descname"><span class="pre">rgw_keystone_expired_token_cache_expiration</span></span><a class="headerlink" href="#confval-rgw_keystone_expired_token_cache_expiration" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>The expired token that is allowed when a valid service token is given
need a new expiration date for the caching. This is the seconds to add
to the current time and then set on an expired token that is verified
with a service token.</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">3600</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_keystone_service_token_enabled"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_keystone_service_token_enabled</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

</section>
<section id="id6">
<h2>服务端加密选项<a class="headerlink" href="#id6" title="Permalink to this heading"></a></h2>
<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_crypt_s3_kms_backend">
<span class="sig-name descname"><span class="pre">rgw_crypt_s3_kms_backend</span></span><a class="headerlink" href="#confval-rgw_crypt_s3_kms_backend" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>Where the SSE-KMS encryption keys are stored. Supported KMS systems
are OpenStack Barbican (<code class="docutils literal notranslate"><span class="pre">barbican</span></code>, the default) and HashiCorp Vault
(<code class="docutils literal notranslate"><span class="pre">vault</span></code>).</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">barbican</span></code></p>
</dd>
<dt class="field-odd">valid choices<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">barbican</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">vault</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">testing</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">kmip</span></code></p></li>
</ul>
</dd>
</dl>
</div></blockquote>
</dd></dl>

</section>
<section id="barbican">
<h2>Barbican 选项<a class="headerlink" href="#barbican" title="Permalink to this heading"></a></h2>
<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_barbican_url">
<span class="sig-name descname"><span class="pre">rgw_barbican_url</span></span><a class="headerlink" href="#confval-rgw_barbican_url" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>访问 Barbican 服务器的 URL 。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_keystone_barbican_user">
<span class="sig-name descname"><span class="pre">rgw_keystone_barbican_user</span></span><a class="headerlink" href="#confval-rgw_keystone_barbican_user" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>有权访问 <a class="reference external" href="../barbican">Barbican</a> 内<a class="reference external" href="../encryption">加密</a>密钥的 OpenStack 用户名。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_keystone_barbican_password">
<span class="sig-name descname"><span class="pre">rgw_keystone_barbican_password</span></span><a class="headerlink" href="#confval-rgw_keystone_barbican_password" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>与 <a class="reference external" href="../barbican">Barbican</a> 用户关联的密码。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_keystone_barbican_tenant">
<span class="sig-name descname"><span class="pre">rgw_keystone_barbican_tenant</span></span><a class="headerlink" href="#confval-rgw_keystone_barbican_tenant" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>使用 OpenStack Identity API v2 时， 在这里配置与 <a class="reference external" href="../barbican">Barbican</a> 用户相关联的 OpenStack
租户名字。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_keystone_barbican_project">
<span class="sig-name descname"><span class="pre">rgw_keystone_barbican_project</span></span><a class="headerlink" href="#confval-rgw_keystone_barbican_project" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>使用 OpenStack Identity API v3 时， 在这里配置与 <a class="reference external" href="../barbican">Barbican</a> 用户相关联的 OpenStack
项目名字。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_keystone_barbican_domain">
<span class="sig-name descname"><span class="pre">rgw_keystone_barbican_domain</span></span><a class="headerlink" href="#confval-rgw_keystone_barbican_domain" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>使用 OpenStack Identity API v3 时， 在这里配置与 <a class="reference external" href="../barbican">Barbican</a> 用户相关联的 OpenStack
域名。</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

</section>
<section id="hashicorp-vault">
<h2>HashiCorp Vault 选项<a class="headerlink" href="#hashicorp-vault" title="Permalink to this heading"></a></h2>
<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_crypt_vault_auth">
<span class="sig-name descname"><span class="pre">rgw_crypt_vault_auth</span></span><a class="headerlink" href="#confval-rgw_crypt_vault_auth" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>Type of authentication method to be used. The only method currently
supported is <code class="docutils literal notranslate"><span class="pre">token</span></code>.</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">token</span></code></p>
</dd>
<dt class="field-odd">valid choices<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">token</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">agent</span></code></p></li>
</ul>
</dd>
<dt class="field-even">see also<span class="colon">:</span></dt>
<dd class="field-even"><p><a class="reference internal" href="#confval-rgw_crypt_s3_kms_backend"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_s3_kms_backend</span></code></a>, <a class="reference internal" href="#confval-rgw_crypt_vault_addr"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_vault_addr</span></code></a>, <a class="reference internal" href="#confval-rgw_crypt_vault_token_file"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_vault_token_file</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_crypt_vault_token_file">
<span class="sig-name descname"><span class="pre">rgw_crypt_vault_token_file</span></span><a class="headerlink" href="#confval-rgw_crypt_vault_token_file" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>If authentication method is ‘token’, provide a path to the token file,
which for security reasons should readable only by Rados Gateway.</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
<dt class="field-even">see also<span class="colon">:</span></dt>
<dd class="field-even"><p><a class="reference internal" href="#confval-rgw_crypt_s3_kms_backend"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_s3_kms_backend</span></code></a>, <a class="reference internal" href="#confval-rgw_crypt_vault_auth"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_vault_auth</span></code></a>, <a class="reference internal" href="#confval-rgw_crypt_vault_addr"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_vault_addr</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_crypt_vault_addr">
<span class="sig-name descname"><span class="pre">rgw_crypt_vault_addr</span></span><a class="headerlink" href="#confval-rgw_crypt_vault_addr" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>Vault server base address, e.g. <code class="docutils literal notranslate"><span class="pre">http://vaultserver:8200</span></code>.</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
<dt class="field-even">see also<span class="colon">:</span></dt>
<dd class="field-even"><p><a class="reference internal" href="#confval-rgw_crypt_s3_kms_backend"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_s3_kms_backend</span></code></a>, <a class="reference internal" href="#confval-rgw_crypt_vault_auth"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_vault_auth</span></code></a>, <a class="reference internal" href="#confval-rgw_crypt_vault_prefix"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_vault_prefix</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_crypt_vault_prefix">
<span class="sig-name descname"><span class="pre">rgw_crypt_vault_prefix</span></span><a class="headerlink" href="#confval-rgw_crypt_vault_prefix" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>The Vault secret URL prefix, which can be used to restrict access to a
particular subset of the secret space, e.g. <code class="docutils literal notranslate"><span class="pre">/v1/secret/data</span></code>.</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
<dt class="field-even">see also<span class="colon">:</span></dt>
<dd class="field-even"><p><a class="reference internal" href="#confval-rgw_crypt_s3_kms_backend"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_s3_kms_backend</span></code></a>, <a class="reference internal" href="#confval-rgw_crypt_vault_addr"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_vault_addr</span></code></a>, <a class="reference internal" href="#confval-rgw_crypt_vault_auth"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_vault_auth</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_crypt_vault_secret_engine">
<span class="sig-name descname"><span class="pre">rgw_crypt_vault_secret_engine</span></span><a class="headerlink" href="#confval-rgw_crypt_vault_secret_engine" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>Vault Secret Engine to be used to retrieve encryption keys: choose
between kv-v2, transit.</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">transit</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_crypt_s3_kms_backend"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_s3_kms_backend</span></code></a>, <a class="reference internal" href="#confval-rgw_crypt_vault_auth"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_vault_auth</span></code></a>, <a class="reference internal" href="#confval-rgw_crypt_vault_addr"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_vault_addr</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_crypt_vault_namespace">
<span class="sig-name descname"><span class="pre">rgw_crypt_vault_namespace</span></span><a class="headerlink" href="#confval-rgw_crypt_vault_namespace" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>If set, Vault Namespace provides tenant isolation for teams and
individuals on the same Vault Enterprise instance, e.g.
<code class="docutils literal notranslate"><span class="pre">acme/tenant1</span></code></p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
<dt class="field-even">see also<span class="colon">:</span></dt>
<dd class="field-even"><p><a class="reference internal" href="#confval-rgw_crypt_s3_kms_backend"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_s3_kms_backend</span></code></a>, <a class="reference internal" href="#confval-rgw_crypt_vault_auth"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_vault_auth</span></code></a>, <a class="reference internal" href="#confval-rgw_crypt_vault_addr"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_vault_addr</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

</section>
<section id="sse-s3">
<h2>SSE-S3 选项<a class="headerlink" href="#sse-s3" title="Permalink to this heading"></a></h2>
<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_crypt_sse_s3_backend">
<span class="sig-name descname"><span class="pre">rgw_crypt_sse_s3_backend</span></span><a class="headerlink" href="#confval-rgw_crypt_sse_s3_backend" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>Where the SSE-S3 encryption keys are stored. The only valid choice is
HashiCorp Vault (<code class="docutils literal notranslate"><span class="pre">vault</span></code>).</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">vault</span></code></p>
</dd>
<dt class="field-odd">valid choices<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">vault</span></code></p></li>
</ul>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_crypt_sse_s3_vault_secret_engine">
<span class="sig-name descname"><span class="pre">rgw_crypt_sse_s3_vault_secret_engine</span></span><a class="headerlink" href="#confval-rgw_crypt_sse_s3_vault_secret_engine" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>Vault Secret Engine to be used to retrieve encryption keys.  The
only valid choice here is transit.</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">transit</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_crypt_sse_s3_backend"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_sse_s3_backend</span></code></a>, <a class="reference internal" href="#confval-rgw_crypt_sse_s3_vault_auth"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_sse_s3_vault_auth</span></code></a>, <a class="reference internal" href="#confval-rgw_crypt_sse_s3_vault_addr"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_sse_s3_vault_addr</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_crypt_sse_s3_key_template">
<span class="sig-name descname"><span class="pre">rgw_crypt_sse_s3_key_template</span></span><a class="headerlink" href="#confval-rgw_crypt_sse_s3_key_template" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>This is the template for per-bucket sse-s3 keys. This string may
include <code class="docutils literal notranslate"><span class="pre">%bucket_id</span></code> which will be expanded out to the bucket
marker, a unique uuid assigned to that bucket. It could contain
<code class="docutils literal notranslate"><span class="pre">%owner_id</span></code>, which will expand out to the owner’s id. Any other use
of % is reserved and should not be used. If the template contains
<code class="docutils literal notranslate"><span class="pre">%bucket_id</span></code>, associated bucket keys will be automatically removed
when the bucket is removed.</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">%bucket_id</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_crypt_sse_s3_backend"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_sse_s3_backend</span></code></a>, <a class="reference internal" href="#confval-rgw_crypt_sse_s3_vault_auth"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_sse_s3_vault_auth</span></code></a>, <a class="reference internal" href="#confval-rgw_crypt_sse_s3_vault_addr"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_sse_s3_vault_addr</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_crypt_sse_s3_vault_auth">
<span class="sig-name descname"><span class="pre">rgw_crypt_sse_s3_vault_auth</span></span><a class="headerlink" href="#confval-rgw_crypt_sse_s3_vault_auth" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>Type of authentication method to be used. The only method currently
supported is <code class="docutils literal notranslate"><span class="pre">token</span></code>.</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">token</span></code></p>
</dd>
<dt class="field-odd">valid choices<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">token</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">agent</span></code></p></li>
</ul>
</dd>
<dt class="field-even">see also<span class="colon">:</span></dt>
<dd class="field-even"><p><a class="reference internal" href="#confval-rgw_crypt_sse_s3_backend"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_sse_s3_backend</span></code></a>, <a class="reference internal" href="#confval-rgw_crypt_sse_s3_vault_addr"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_sse_s3_vault_addr</span></code></a>, <a class="reference internal" href="#confval-rgw_crypt_sse_s3_vault_token_file"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_sse_s3_vault_token_file</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_crypt_sse_s3_vault_token_file">
<span class="sig-name descname"><span class="pre">rgw_crypt_sse_s3_vault_token_file</span></span><a class="headerlink" href="#confval-rgw_crypt_sse_s3_vault_token_file" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>If authentication method is ‘token’, provide a path to the token file,
which for security reasons should readable only by Rados Gateway.</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
<dt class="field-even">see also<span class="colon">:</span></dt>
<dd class="field-even"><p><a class="reference internal" href="#confval-rgw_crypt_sse_s3_backend"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_sse_s3_backend</span></code></a>, <a class="reference internal" href="#confval-rgw_crypt_sse_s3_vault_auth"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_sse_s3_vault_auth</span></code></a>, <a class="reference internal" href="#confval-rgw_crypt_sse_s3_vault_addr"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_sse_s3_vault_addr</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_crypt_sse_s3_vault_addr">
<span class="sig-name descname"><span class="pre">rgw_crypt_sse_s3_vault_addr</span></span><a class="headerlink" href="#confval-rgw_crypt_sse_s3_vault_addr" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>Vault server base address, e.g. <code class="docutils literal notranslate"><span class="pre">http://vaultserver:8200</span></code>.</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
<dt class="field-even">see also<span class="colon">:</span></dt>
<dd class="field-even"><p><a class="reference internal" href="#confval-rgw_crypt_sse_s3_backend"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_sse_s3_backend</span></code></a>, <a class="reference internal" href="#confval-rgw_crypt_sse_s3_vault_auth"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_sse_s3_vault_auth</span></code></a>, <a class="reference internal" href="#confval-rgw_crypt_sse_s3_vault_prefix"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_sse_s3_vault_prefix</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_crypt_sse_s3_vault_prefix">
<span class="sig-name descname"><span class="pre">rgw_crypt_sse_s3_vault_prefix</span></span><a class="headerlink" href="#confval-rgw_crypt_sse_s3_vault_prefix" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>The Vault secret URL prefix, which can be used to restrict access to a
particular subset of the secret space, e.g. <code class="docutils literal notranslate"><span class="pre">/v1/secret/data</span></code>.</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
<dt class="field-even">see also<span class="colon">:</span></dt>
<dd class="field-even"><p><a class="reference internal" href="#confval-rgw_crypt_sse_s3_backend"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_sse_s3_backend</span></code></a>, <a class="reference internal" href="#confval-rgw_crypt_sse_s3_vault_addr"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_sse_s3_vault_addr</span></code></a>, <a class="reference internal" href="#confval-rgw_crypt_sse_s3_vault_auth"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_sse_s3_vault_auth</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_crypt_sse_s3_vault_namespace">
<span class="sig-name descname"><span class="pre">rgw_crypt_sse_s3_vault_namespace</span></span><a class="headerlink" href="#confval-rgw_crypt_sse_s3_vault_namespace" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>If set, Vault Namespace provides tenant isolation for teams and
individuals on the same Vault Enterprise instance, e.g.
<code class="docutils literal notranslate"><span class="pre">acme/tenant1</span></code></p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
<dt class="field-even">see also<span class="colon">:</span></dt>
<dd class="field-even"><p><a class="reference internal" href="#confval-rgw_crypt_sse_s3_backend"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_sse_s3_backend</span></code></a>, <a class="reference internal" href="#confval-rgw_crypt_sse_s3_vault_auth"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_sse_s3_vault_auth</span></code></a>, <a class="reference internal" href="#confval-rgw_crypt_sse_s3_vault_addr"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_crypt_sse_s3_vault_addr</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_crypt_sse_s3_vault_verify_ssl">
<span class="sig-name descname"><span class="pre">rgw_crypt_sse_s3_vault_verify_ssl</span></span><a class="headerlink" href="#confval-rgw_crypt_sse_s3_vault_verify_ssl" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>Should RGW verify the vault server SSL certificate.</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">bool</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">true</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_crypt_sse_s3_vault_ssl_cacert">
<span class="sig-name descname"><span class="pre">rgw_crypt_sse_s3_vault_ssl_cacert</span></span><a class="headerlink" href="#confval-rgw_crypt_sse_s3_vault_ssl_cacert" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>Path for custom ca certificate for accessing vault server</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_crypt_sse_s3_vault_ssl_clientcert">
<span class="sig-name descname"><span class="pre">rgw_crypt_sse_s3_vault_ssl_clientcert</span></span><a class="headerlink" href="#confval-rgw_crypt_sse_s3_vault_ssl_clientcert" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>Path for custom client certificate for accessing vault server</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_crypt_sse_s3_vault_ssl_clientkey">
<span class="sig-name descname"><span class="pre">rgw_crypt_sse_s3_vault_ssl_clientkey</span></span><a class="headerlink" href="#confval-rgw_crypt_sse_s3_vault_ssl_clientkey" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>Path for private key required for client cert</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<section id="qos">
<h3>QoS 选项<a class="headerlink" href="#qos" title="Permalink to this heading"></a></h3>
<div class="versionadded">
<p><span class="versionmodified added">New in version Nautilus.</span></p>
</div>
<p><code class="docutils literal notranslate"><span class="pre">civetweb</span></code> 前端有一个线程池模型，它给每个连接使用一个线程，因此它在接受请求时自动接受 <code class="docutils literal notranslate"><span class="pre">rgw</span> <span class="pre">thread</span> <span class="pre">pool</span> <span class="pre">size</span></code> 配置的约束。 <code class="docutils literal notranslate"><span class="pre">beast</span></code> 前端在接受新连接时不受线程池大小的限制，所以 Nautilus 版引进了调度器抽象层，
以此支持未来调度请求的多种方法。</p>
<p>当前，这个调度器默认就是个减速器，它可以把活跃连接数压制到配置的限值之下。
基于 mClock 的 QoS 现在还处于 <em>实验</em> 阶段，而且也不建议用于生产环境。
当前实现的 <em>dmclock_client</em> 操作队列会把 RGW 的各种操作分割成管理的、认证的
（ swift 认证、 sts ）、元数据和数据请求。</p>
<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_max_concurrent_requests">
<span class="sig-name descname"><span class="pre">rgw_max_concurrent_requests</span></span><a class="headerlink" href="#confval-rgw_max_concurrent_requests" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>Maximum number of concurrent HTTP requests that the beast frontend
will process. Tuning this can help to limit memory usage under heavy
load.</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">int</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">1024</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_frontends"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_frontends</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_scheduler_type">
<span class="sig-name descname"><span class="pre">rgw_scheduler_type</span></span><a class="headerlink" href="#confval-rgw_scheduler_type" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>The RGW scheduler to use. Valid values are <code class="docutils literal notranslate"><span class="pre">throttler`</span> <span class="pre">and</span>
<span class="pre">``dmclock</span></code>. Currently defaults to <code class="docutils literal notranslate"><span class="pre">throttler</span></code> which throttles Beast
frontend requests. <code class="docutils literal notranslate"><span class="pre">dmclock`</span> <span class="pre">is</span> <span class="pre">*experimental*</span> <span class="pre">and</span> <span class="pre">requires</span> <span class="pre">the</span>
<span class="pre">``dmclock</span></code> to be included in the <code class="docutils literal notranslate"><span class="pre">experimental_feature_enabled</span></code>
configuration option.</p>
<p>The options below tune the experimental dmclock scheduler. For
additional reading on dmclock, see <a class="reference internal" href="../../rados/configuration/osd-config-ref/#dmclock-qos"><span class="std std-ref">基于 mClock 的 QoS</span></a>. <cite>op_class</cite> for
the flags below is
one of <code class="docutils literal notranslate"><span class="pre">admin</span></code>, <code class="docutils literal notranslate"><span class="pre">auth</span></code>, <code class="docutils literal notranslate"><span class="pre">metadata</span></code>, or <code class="docutils literal notranslate"><span class="pre">data</span></code>.</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">str</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">throttler</span></code></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_dmclock_auth_res">
<span class="sig-name descname"><span class="pre">rgw_dmclock_auth_res</span></span><a class="headerlink" href="#confval-rgw_dmclock_auth_res" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>mclock reservation for object data requests</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">float</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">200.0</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_dmclock_auth_wgt"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_dmclock_auth_wgt</span></code></a>, <a class="reference internal" href="#confval-rgw_dmclock_auth_lim"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_dmclock_auth_lim</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_dmclock_auth_wgt">
<span class="sig-name descname"><span class="pre">rgw_dmclock_auth_wgt</span></span><a class="headerlink" href="#confval-rgw_dmclock_auth_wgt" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>mclock weight for object data requests</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">float</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">100.0</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_dmclock_auth_res"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_dmclock_auth_res</span></code></a>, <a class="reference internal" href="#confval-rgw_dmclock_auth_lim"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_dmclock_auth_lim</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_dmclock_auth_lim">
<span class="sig-name descname"><span class="pre">rgw_dmclock_auth_lim</span></span><a class="headerlink" href="#confval-rgw_dmclock_auth_lim" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>mclock limit for object data requests</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">float</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">0.0</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_dmclock_auth_res"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_dmclock_auth_res</span></code></a>, <a class="reference internal" href="#confval-rgw_dmclock_auth_wgt"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_dmclock_auth_wgt</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_dmclock_admin_res">
<span class="sig-name descname"><span class="pre">rgw_dmclock_admin_res</span></span><a class="headerlink" href="#confval-rgw_dmclock_admin_res" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>mclock reservation for admin requests</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">float</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">100.0</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_dmclock_admin_wgt"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_dmclock_admin_wgt</span></code></a>, <a class="reference internal" href="#confval-rgw_dmclock_admin_lim"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_dmclock_admin_lim</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_dmclock_admin_wgt">
<span class="sig-name descname"><span class="pre">rgw_dmclock_admin_wgt</span></span><a class="headerlink" href="#confval-rgw_dmclock_admin_wgt" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>mclock weight for admin requests</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">float</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">100.0</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_dmclock_admin_res"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_dmclock_admin_res</span></code></a>, <a class="reference internal" href="#confval-rgw_dmclock_admin_lim"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_dmclock_admin_lim</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_dmclock_admin_lim">
<span class="sig-name descname"><span class="pre">rgw_dmclock_admin_lim</span></span><a class="headerlink" href="#confval-rgw_dmclock_admin_lim" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>mclock limit for admin requests</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">float</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">0.0</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_dmclock_admin_res"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_dmclock_admin_res</span></code></a>, <a class="reference internal" href="#confval-rgw_dmclock_admin_wgt"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_dmclock_admin_wgt</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_dmclock_data_res">
<span class="sig-name descname"><span class="pre">rgw_dmclock_data_res</span></span><a class="headerlink" href="#confval-rgw_dmclock_data_res" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>mclock reservation for object data requests</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">float</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">500.0</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_dmclock_data_wgt"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_dmclock_data_wgt</span></code></a>, <a class="reference internal" href="#confval-rgw_dmclock_data_lim"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_dmclock_data_lim</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_dmclock_data_wgt">
<span class="sig-name descname"><span class="pre">rgw_dmclock_data_wgt</span></span><a class="headerlink" href="#confval-rgw_dmclock_data_wgt" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>mclock weight for object data requests</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">float</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">500.0</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_dmclock_data_res"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_dmclock_data_res</span></code></a>, <a class="reference internal" href="#confval-rgw_dmclock_data_lim"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_dmclock_data_lim</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_dmclock_data_lim">
<span class="sig-name descname"><span class="pre">rgw_dmclock_data_lim</span></span><a class="headerlink" href="#confval-rgw_dmclock_data_lim" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>mclock limit for object data requests</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">float</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">0.0</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_dmclock_data_res"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_dmclock_data_res</span></code></a>, <a class="reference internal" href="#confval-rgw_dmclock_data_wgt"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_dmclock_data_wgt</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_dmclock_metadata_res">
<span class="sig-name descname"><span class="pre">rgw_dmclock_metadata_res</span></span><a class="headerlink" href="#confval-rgw_dmclock_metadata_res" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>mclock reservation for metadata requests</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">float</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">500.0</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_dmclock_metadata_wgt"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_dmclock_metadata_wgt</span></code></a>, <a class="reference internal" href="#confval-rgw_dmclock_metadata_lim"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_dmclock_metadata_lim</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_dmclock_metadata_wgt">
<span class="sig-name descname"><span class="pre">rgw_dmclock_metadata_wgt</span></span><a class="headerlink" href="#confval-rgw_dmclock_metadata_wgt" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>mclock weight for metadata requests</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">float</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">500.0</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_dmclock_metadata_res"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_dmclock_metadata_res</span></code></a>, <a class="reference internal" href="#confval-rgw_dmclock_metadata_lim"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_dmclock_metadata_lim</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="std confval">
<dt class="sig sig-object std" id="confval-rgw_dmclock_metadata_lim">
<span class="sig-name descname"><span class="pre">rgw_dmclock_metadata_lim</span></span><a class="headerlink" href="#confval-rgw_dmclock_metadata_lim" title="Permalink to this definition"></a></dt>
<dd><blockquote>
<div><p>mclock limit for metadata requests</p>
<dl class="field-list simple">
<dt class="field-odd">type<span class="colon">:</span></dt>
<dd class="field-odd"><p><code class="docutils literal notranslate"><span class="pre">float</span></code></p>
</dd>
<dt class="field-even">default<span class="colon">:</span></dt>
<dd class="field-even"><p><code class="docutils literal notranslate"><span class="pre">0.0</span></code></p>
</dd>
<dt class="field-odd">see also<span class="colon">:</span></dt>
<dd class="field-odd"><p><a class="reference internal" href="#confval-rgw_dmclock_metadata_res"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_dmclock_metadata_res</span></code></a>, <a class="reference internal" href="#confval-rgw_dmclock_metadata_wgt"><code class="xref std std-confval docutils literal notranslate"><span class="pre">rgw_dmclock_metadata_wgt</span></code></a></p>
</dd>
</dl>
</div></blockquote>
</dd></dl>

</section>
</section>
</section>



<div id="support-the-ceph-foundation" class="admonition note">
  <p class="first admonition-title">Brought to you by the Ceph Foundation</p>
  <p class="last">The Ceph Documentation is a community resource funded and hosted by the non-profit <a href="https://ceph.io/en/foundation/">Ceph Foundation</a>. If you would like to support this and our other efforts, please consider <a href="https://ceph.io/en/foundation/join/">joining now</a>.</p>
</div>


           </div>
           
          </div>
          <footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
        <a href="../pools/" class="btn btn-neutral float-left" title="存储池" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
        <a href="../admin/" class="btn btn-neutral float-right" title="管理指南" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
    </div>

  <hr/>

  <div role="contentinfo">
    <p>&#169; Copyright 2016, Ceph authors and contributors. Licensed under Creative Commons Attribution Share Alike 3.0 (CC-BY-SA-3.0).</p>
  </div>

   

</footer>
        </div>
      </div>

    </section>

  </div>
  

  <script type="text/javascript">
      jQuery(function () {
          SphinxRtdTheme.Navigation.enable(true);
      });
  </script>

  
  
    
   

</body>
</html>